/*
 * Created on 2005-3-31
 *
 */
package com.hd123.rumba.sql;

import java.io.Serializable;

/**
 * @author caili
 */
public class QueryDefinition implements Serializable {

  private static final long serialVersionUID = 300100L;
  private String version = "0.1";
  private String type = "jdbc";
  private Field[] column;
  private Field[] select;
  private Field[] from;
  private Creteria[] where;
  private Field order;
  private Option checkbox;
  private Creteria customOrder;

  public Creteria getCustomOrder() {
    return customOrder;
  }

  public void setCustomOrder(Creteria customOrder) {
    this.customOrder = customOrder;
  }

  public Option getCheckbox() {
    return checkbox;
  }

  public void setCheckbox(Option checkbox) {
    this.checkbox = checkbox;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public Field[] getColumn() {
    return column;
  }

  public void setColumn(Field[] column) {
    this.column = column;
  }

  public Field[] getFrom() {
    return from;
  }

  public void setFrom(Field[] from) {
    this.from = from;
  }

  public Field getOrder() {
    return order;
  }

  public void setOrder(Field order) {
    this.order = order;
  }

  public Field[] getSelect() {
    return select;
  }

  public void setSelect(Field[] select) {
    this.select = select;
  }

  public Creteria[] getWhere() {
    return where;
  }

  public void setWhere(Creteria[] where) {
    this.where = where;
  }
}
